/*****************************************************************************
*   Copyright (c) 2019 Thermo Fisher Scientific. All rights reserved.        *
*****************************************************************************/
/** @file
    @section DESCRIPTION
    Header file of basic trace, printing message to a serial port.

    @author  ming.liu (ming.liu2@thermofisher.com)

    @version 1.0 

    @section LICENSE
    Use of the software source code and warranty disclaimers are
    identified in the Software Agreement associated herewith.

    @section GIT_PATH
    git@cnshf-cic-sw-bitbucket.apac.thermo.com:7999/vert/mcu.git
	
	@section USAGE
	Use tfTraceInit() to initial the serial port.
	Use marco TRACE1 - TRACE9 to print a message with variable argument.
	For a release version, add NDEBUG as symbol to remove all trace messages.
*/

#ifndef _CMD_PARSE_H
#define _CMD_PARSE_H


#define MB_SLAVE_ADDR 0x01

/* Modbus macros to parse values from buffer */
#define MB_RECV_CRC \
        ((cmd_Buf[cmd_point-1] << 8) \
        | (cmd_Buf[cmd_point-2]))




void cmd_parse_create();












#endif
